//统一管理咱们项目用户相关的接口
import request from '@/util/request.js'


//登录接口
export const reqLogin = (data) =>
  request.post('user/login', data)


// 注册
export const register = (data) =>
    request.post('user/register', data)

// 修改密码
export const modifyPassword = (data) =>
    request.put('user/password', data)



// 获取用户详情
export const info = (data) =>
    request.get('user/info' , {params: data})

